<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<table align="center" border="10">
		<tr>
			<td>公司名称</td>
			<td>年龄</td>
			<td>操作</td>
		</tr>
		<?php foreach ($data as $k => $v){ ?>
			<tr>
				<td><?php echo $v['uname']?></td>
				<td><?php echo $v['age']?></td>
				<td>
					<a href="http://www.zhangsan.com/Nine/advanced/frontend/web/index.php?r=demo/del&id=<?php echo $v['id']?>">删除</a>
					<a href="http://www.zhangsan.com/Nine/advanced/frontend/web/index.php?r=demo/updates&id=<?php echo $v['id']?>">修改</a>
				</td>
			</tr>
		<?php } ?>
		
	</table>
</body>
</html>